[index]

SelectedField Function

Syntax

the selectedField or selectedField()

Description

The selectedField() function returns the field in which the currently selected text is contained. SelectedField returns the value in the following format: <card | bkgnd> <field> <number>

Examples

The following handler, placed in a card script, selects everything in a selected field when Shift-Enter is pressed: on returnInField if the shiftKey is down then select text of the selectedField else pass returnInField
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.